package com.ruoyi.sl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SlLevel;
import com.ruoyi.common.core.domain.entity.SlSsm;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 操作人对象 sl_rwork_rmember
 * 
 * @author admin
 * @date 2024-06-07
 */
public class SlRworkRmember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long rmemberId;

    /** 报工单ID */
    @Excel(name = "报工单ID")
    private Long rworkId;

    /** 报工人 */
    @Excel(name = "报工人")
    private String rworkUser;

    /** 参与人 */
    @Excel(name = "参与人")
    private String rmemberUser;

    /** 参与人昵称 */
    @Excel(name = "参与人昵称")
    private String rmemberNick;

    /** 职级 */
    @Excel(name = "职级")
    private Long levelId;

    /** 计薪方式 */
    @Excel(name = "计薪方式")
    private Long ssmId;

    /** 工资 */
    @Excel(name = "工资")
    private BigDecimal rmemberPay;

    /** 报工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rworkDate;

    /** 是否正式工 */
    @Excel(name = "是否正式工")
    private String isFormalworker;

    /** 是否水产小时工 */
    @Excel(name = "是否水产小时工")
    private String isHourlyworker;

    /** 职级名 */
    @Excel(name = "职级名")
    private String levelName;

    /** 计薪方式 */
    @Excel(name = "计薪方式")
    private String ssmName;

    private SlLevel level;

    private SlSsm ssm;

    /** 白班0夜班1中班2 */
    @Excel(name = "白班0夜班1中班2")
    private String rmemberBz;

    /** 报工单ID */
    @Excel(name = "报工单ID")
    private Long rfworkId;

    /** 时长 */
    @Excel(name = "时长")
    private BigDecimal rmemberDuration;

    public Long getRmemberId() {
        return rmemberId;
    }

    public void setRmemberId(Long rmemberId) {
        this.rmemberId = rmemberId;
    }

    public Long getRworkId() {
        return rworkId;
    }

    public void setRworkId(Long rworkId) {
        this.rworkId = rworkId;
    }

    public String getRworkUser() {
        return rworkUser;
    }

    public void setRworkUser(String rworkUser) {
        this.rworkUser = rworkUser;
    }

    public String getRmemberUser() {
        return rmemberUser;
    }

    public void setRmemberUser(String rmemberUser) {
        this.rmemberUser = rmemberUser;
    }

    public String getRmemberNick() {
        return rmemberNick;
    }

    public void setRmemberNick(String rmemberNick) {
        this.rmemberNick = rmemberNick;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getSsmId() {
        return ssmId;
    }

    public void setSsmId(Long ssmId) {
        this.ssmId = ssmId;
    }

    public BigDecimal getRmemberPay() {
        return rmemberPay;
    }

    public void setRmemberPay(BigDecimal rmemberPay) {
        this.rmemberPay = rmemberPay;
    }

    public Date getRworkDate() {
        return rworkDate;
    }

    public void setRworkDate(Date rworkDate) {
        this.rworkDate = rworkDate;
    }

    public String getIsFormalworker() {
        return isFormalworker;
    }

    public void setIsFormalworker(String isFormalworker) {
        this.isFormalworker = isFormalworker;
    }

    public String getIsHourlyworker() {
        return isHourlyworker;
    }

    public void setIsHourlyworker(String isHourlyworker) {
        this.isHourlyworker = isHourlyworker;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getSsmName() {
        return ssmName;
    }

    public void setSsmName(String ssmName) {
        this.ssmName = ssmName;
    }

    public SlLevel getLevel() {
        return level;
    }

    public void setLevel(SlLevel level) {
        this.level = level;
    }

    public SlSsm getSsm() {
        return ssm;
    }

    public void setSsm(SlSsm ssm) {
        this.ssm = ssm;
    }

    public String getRmemberBz() {
        return rmemberBz;
    }

    public void setRmemberBz(String rmemberBz) {
        this.rmemberBz = rmemberBz;
    }

    public Long getRfworkId() {
        return rfworkId;
    }

    public void setRfworkId(Long rfworkId) {
        this.rfworkId = rfworkId;
    }

    public BigDecimal getRmemberDuration() {
        return rmemberDuration;
    }

    public void setRmemberDuration(BigDecimal rmemberDuration) {
        this.rmemberDuration = rmemberDuration;
    }

    @Override
    public String toString() {
        return "SlRworkRmember{" +
                "rmemberId=" + rmemberId +
                ", rworkId=" + rworkId +
                ", rworkUser='" + rworkUser + '\'' +
                ", rmemberUser='" + rmemberUser + '\'' +
                ", rmemberNick='" + rmemberNick + '\'' +
                ", levelId=" + levelId +
                ", ssmId=" + ssmId +
                ", rmemberPay=" + rmemberPay +
                ", rworkDate=" + rworkDate +
                ", isFormalworker='" + isFormalworker + '\'' +
                ", isHourlyworker='" + isHourlyworker + '\'' +
                ", levelName='" + levelName + '\'' +
                ", ssmName='" + ssmName + '\'' +
                ", level=" + level +
                ", ssm=" + ssm +
                ", rmemberBz='" + rmemberBz + '\'' +
                ", rfworkId=" + rfworkId +
                ", rmemberDuration=" + rmemberDuration +
                '}';
    }
}
